package com.myhome.service;

import com.myhome.domain.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Author QYiXin
 * @Date 2021 10 09 12 58
 **/
public interface SysMenuService extends IService<SysMenu> {


    List<SysMenu> getMenusByUserId(Long userId);

    List<SysMenu> getRolePrivileges(Long roleId);
}
